package org.example.security.handler;


import java.util.Map;

/**
 * @author 小杰_cc
 * @version 1.0
 */
public class SecurityHandler {
    private static final ThreadLocal<Map<String,String>> t1 = new ThreadLocal<>();

    public static void setData(Map<String,String> map){
        t1.set(map);
    }

    public static Map<String,String> getData(){
        return t1.get();
    }

    public static void remove(){
        t1.remove();
    }

}
